import * as api from '../../api';

export async function getCount () {
    const newCount = await api.getCount();
    const [, setState] = this.props.ctx;
    // logic...
    setState({
        count: newCount,
    });
}
